projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d5ca60
)
(ns_draw_vertical_window_border): Draw 1 pixel wide, not two, and
author
Adrian Robert
<Adrian.B.Robert@gmail.com>
Fri, 6 Mar 2009 15:29:50 +0000
(15:29 +0000)
committer
Adrian Robert
<Adrian.B.Robert@gmail.com>
Fri, 6 Mar 2009 15:29:50 +0000
(15:29 +0000)
use NSRectFill instead of NSDrawGroove.
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/nsterm.m
b/src/nsterm.m
index f5458fc0fd0e33ffe0a40ed56777bcb7fdb06265..6ebf49f77c10b3f42e25ba1a21e2a5638e2093eb 100644
(file)
--- a/
src/nsterm.m
+++ b/
src/nsterm.m
@@
-2454,7
+2454,7
@@
ns_draw_vertical_window_border (struct window *w, int x, int y0, int y1)
{
struct frame *f = XFRAME (WINDOW_FRAME (w));
struct face *face;
- NSRect r = NSMakeRect (x, y0,
2
, y1-y0);
+ NSRect r = NSMakeRect (x, y0,
1
, y1-y0);
NSTRACE (ns_draw_vertical_window_border);
@@
-2463,7
+2463,7
@@
ns_draw_vertical_window_border (struct window *w, int x, int y0, int y1)
[ns_lookup_indexed_color(face->foreground, f) set];
ns_focus (f, &r, 1);
- NS
DrawGroove (r,
r);
+ NS
RectFill(
r);
ns_unfocus (f);
}